<!-- 侧边栏 -->
<template>
  <div class="app-side">
    <el-menu
      :unique-opened="true"
      default-active="1-1"
      class="el-menu-vertical-demo"
      @open="handleOpen"
      @close="handleClose">
      <el-submenu index="1">
        <template slot="title">
          <span>出口放箱</span>
        </template>
        <el-menu-item @click="$router.push({path: '/webLayout/dropBoxMan'})" index="1-1">出口放箱管理</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/dropBoxHistory'})" index="1-2">出口放箱历史记录</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/alreadyPut'})" index="1-3">已放好客户</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/eirMan'})" index="1-4">电子EIR管理</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/canOrderMan'})" index="1-5">可打单管理</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/couldOrderMan'})" index="1-6">已打单管理</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/orderStatistics'})" index="1-7">打单统计</el-menu-item>
      </el-submenu>
      <el-menu-item index="2" @click="$router.push({path: '/webLayout/announcementMan'})">
        <span  slot="title">公告管理</span>
      </el-menu-item>
      <el-menu-item index="3" @click="$router.push({path: '/webLayout/companySetting'})">
        <span slot="title">公司设置</span>
      </el-menu-item>
      <el-submenu index="4">
        <template slot="title">
          <span>基础信息</span>
        </template>
        <el-menu-item @click="$router.push({path: '/webLayout/basicCost'})" index="4-1">基础费用</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/salesman'})" index="4-2">业务员</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/shipCompany'})" index="4-3">船代公司</el-menu-item>
      </el-submenu>
      <el-submenu index="5">
        <template slot="title">
          <span>财务统计</span>
        </template>
        <el-menu-item @click="$router.push({path: '/webLayout/dailyCollection'})" index="5-1">日汇总表</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/monthTable'})" index="5-2">月统计表</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/dailyTable'})" index="5-3">日统计表</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/businessCollection'})" index="5-4">业务汇总表</el-menu-item>
      </el-submenu>
      <el-submenu index="6">
        <template slot="title">
          <span>公司信息管理</span>
        </template>
        <el-menu-item @click="$router.push({path: '/webLayout/customeMan'})" index="6-1">客户管理</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/cpDataMaintain'})" index="6-2">公司资料维护</el-menu-item>
      </el-submenu>
      <el-submenu index="7">
        <template slot="title">
          <span>用户管理</span>
        </template>
        <el-menu-item @click="$router.push({path: '/webLayout/salesmanMan'})" index="7-1">业务员管理</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/departmentMan'})" index="7-2">部门管理</el-menu-item>
        <el-menu-item @click="$router.push({path: '/webLayout/postMan'})" index="7-3">岗位管理</el-menu-item>
      </el-submenu>
      <el-submenu index="8">
        <template slot="title">
          <span>预配查询</span>
        </template>
        <el-menu-item @click="$router.push({path: '/webLayout/previsionSearch'})" index="8-1">新海</el-menu-item>
      </el-submenu>
    </el-menu>
  </div>
</template>

<script>
export default {
  data () {
    return {}
  },
  methods: {
    handleOpen (key, keyPath) {
    },
    handleClose (key, keyPath) {
    }
  }
}
</script>

<style lang="less">
</style>
